#include <stdio.h>
#include "hocdec.h"
extern int nrnmpi_myid;
extern int nrn_nobanner_;
#if defined(__cplusplus)
extern "C" {
#endif

extern void _cad_reg(void);
extern void _hh2_reg(void);
extern void _iahp_reg(void);
extern void _iA_reg(void);
extern void _ican_reg(void);
extern void _iL_reg(void);
extern void _it2_reg(void);
extern void _kleak_reg(void);
extern void _SK_E2_reg(void);

void modl_reg() {
  if (!nrn_nobanner_) if (nrnmpi_myid < 1) {
    fprintf(stderr, "Additional mechanisms from files\n");
    fprintf(stderr, " \"mechanisms/cad.mod\"");
    fprintf(stderr, " \"mechanisms/hh2.mod\"");
    fprintf(stderr, " \"mechanisms/iahp.mod\"");
    fprintf(stderr, " \"mechanisms/iA.mod\"");
    fprintf(stderr, " \"mechanisms/ican.mod\"");
    fprintf(stderr, " \"mechanisms/iL.mod\"");
    fprintf(stderr, " \"mechanisms/it2.mod\"");
    fprintf(stderr, " \"mechanisms/kleak.mod\"");
    fprintf(stderr, " \"mechanisms/SK_E2.mod\"");
    fprintf(stderr, "\n");
  }
  _cad_reg();
  _hh2_reg();
  _iahp_reg();
  _iA_reg();
  _ican_reg();
  _iL_reg();
  _it2_reg();
  _kleak_reg();
  _SK_E2_reg();
}

#if defined(__cplusplus)
}
#endif
